package com.fmcoder.study.ch1.di;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

// 定义当前类为配置类
@Configuration
// 自动扫描包下所有的@Service、@Component、@Repository和@Controller,并注册为Bean
@ComponentScan("com.fmcoder.study.ch1.di")
public class DiConfig {
	
	
	
}
